﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZhimeiSoft.Framework.Common.TableInfo
{
    
    /// <summary>
    /// 店信息表
    /// </summary>
    public class DBSalonInfo : DBBaseInfo
    {
        /// <summary>
        /// 表名称
        /// </summary>
        /// <returns>返回表名称</returns>
        public override string GetTableName()
        {
            return "SALONINFO";
        }
        /// <summary>
        /// 店的ID
        /// </summary>
        public int SALONID { get; set; }
        /// <summary>
        /// 店名称
        /// </summary>
        public string SNAME { get; set; }
        /// <summary>
        /// 店邮政编码
        /// </summary>
        public string SZIPCODE { get; set; }
        /// <summary>
        /// 店地址
        /// </summary>
        public string SADDRESS { get; set; }
        /// <summary>
        /// 联系电话1
        /// </summary>
        public string SPHONE1 { get; set; }
        /// <summary>
        /// 联系电话2
        /// </summary>
        public string SPHONE2 { get; set; }
        /// <summary>
        /// 传真1
        /// </summary>
        public string SFAX1 { get; set; }
        /// <summary>
        /// 传真2
        /// </summary>
        public string SFAX2 { get; set; }
        /// <summary>
        /// 联系人1
        /// </summary>
        public string SCONTACTPERSON1 { get; set; }
        /// <summary>
        /// 联系人2
        /// </summary>
        public string SCONTACTPERSON2 { get; set; }
        /// <summary>
        /// 上班时间
        /// </summary>
        public DateTime SOPENTIME { get; set; }
        /// <summary>
        /// 下班时间
        /// </summary>
        public DateTime SOFFTIME { get; set; }
        /// <summary>
        /// 备注信息
        /// </summary>
        public string SMEMO { get; set; }

        /// <summary>
        /// 字段名
        /// </summary>
        public static class FieldName
        {
            /// <summary>
            /// 店的ID
            /// </summary>
            public const string SALONID = "SALONID";
            /// <summary>
            /// 店名称
            /// </summary>
            public const string SNAME = "SNAME";
            /// <summary>
            /// 店邮政编码
            /// </summary>
            public const string SZIPCODE = "SZIPCODE";
            /// <summary>
            /// 店地址
            /// </summary>
            public const string SADDRESS = "SADDRESS";
            /// <summary>
            /// 联系电话1
            /// </summary>
            public const string SPHONE1 = "SPHONE1";
            /// <summary>
            /// 联系电话2
            /// </summary>
            public const string SPHONE2 = "SPHONE2";
            /// <summary>
            /// 传真1
            /// </summary>
            public const string SFAX1 = "SFAX1";
            /// <summary>
            /// 传真2
            /// </summary>
            public const string SFAX2 = "SFAX2";
            /// <summary>
            /// 联系人1
            /// </summary>
            public const string SCONTACTPERSON1 = "SCONTACTPERSON1";
            /// <summary>
            /// 联系人2
            /// </summary>
            public const string SCONTACTPERSON2 = "SCONTACTPERSON2";
            /// <summary>
            /// 上班时间
            /// </summary>
            public const string SOPENTIME = "SOPENTIME";
            /// <summary>
            /// 下班时间
            /// </summary>
            public const string SOFFTIME = "SOFFTIME";
            /// <summary>
            /// 备注信息
            /// </summary>
            public const string SMEMO = "SMEMO";
        }
    }
}
